@import './media.scss';

.order-list {
  display: table;
  width: 100%;
  .ui-1px-t,
  .ui-1px-b {
    color: #eee;
  }
}

.order-item {
  margin-bottom: 20px;

  @include ui-1px(#eee,1px 0);
}
.photo__goods {
  width: 144px;
  height: 144px;
}
.order-swiper {
  overflow: hidden;
  box-sizing: border-box;
  width: 750px;
  .swiper-wrapper {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    // display: table;
    width: auto;
    white-space: nowrap;
    &::-webkit-scrollbar {
      display: none;
    }
  }
  .swiper-slide {
    float: left;
    margin-left: 20px;
    width: 144px;
    height: 144px;
    &:last-child {
      margin-right: 20px;
    }
  }
}
.order-status {
  box-sizing: border-box;
  padding-left: 20px;
  width: 100%;
  height: 160px;
  background: url('../images/bg1.jpg') no-repeat;
  background-size: cover;
}
.icon-status-02 {
  vertical-align: super;
}

.shipping-address {
  padding-top: 30px;
  padding-right: 20px;
  padding-bottom: 30px;
  padding-left: 20px;

  @include ui-1px(#eee,0 0 1px 0);

  span:not(:first-child) {
    margin-left: 30px;
  }

  dd {
    margin-top: 10px;
  }
}
.timeline {
  padding: 30px 20px;
  background-color: #fff;

  @include ui-1px(#eee,1px 0);
  p:not(:first-child) {
    margin-top: 10px;
  }
}
.pay-info {
  padding: 30px 20px;
  background-color: #fff;

  @include ui-1px(#eee,1px 0);
}

.pay-info-item:not(:first-child) {
  margin-top: 10px;
}
.pay-info-item {
  display: flex;
  align-items: center;

  .title {
    width: 156px;
    text-align: right;
    white-space: nowrap;
  }
  .valuer {
    flex: 1;
  }
}
.haul {
  padding: 30px 20px;
  background-color: #fff;

  @include ui-1px(#eee,1px 0);
}
.invoice {
  padding: 30px 20px;
  background-color: #fff;

  @include ui-1px(#eee,1px 0);
  p:not(:first-child) {
    margin-top: 10px;
  }
}
.price {
  padding: 30px 20px;
  background-color: #fff;

  @include ui-1px(#eee,1px 0);
  div:not(:first-child) {
    margin-top: 10px;
  }
}
.pay-detail {
  @include ui-1px(#eee,0 0 1px 0);
}
.pay-money {
  font-size: 44px;
}
.addto-proof {
  margin-top: 36px;
  padding-top: 40px;
  padding-bottom: 40px;

  @include ui-1px(#eee,1px 0 0 0);
  a {
    color: #4491ea;
  }
}
.pay-proof {
  padding-top: 10px;
}
.pay-proof-item {
  position: relative;
  margin-top: 20px;
  margin-right: 20px;
  margin-left: 20px;
  padding-left: 30px;
  height: 260px;
  border-radius: 14px;
  background-color: #fff;

  @include ui-1px(#e3e3e3,1px);
  &:before {
    overflow: hidden;
    border-radius: 14px;
    background-color: #fff;
  }
}
.pay-proof__title {
  margin-bottom: 40px;
  padding-top: 30px;
}
.proof-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 4px;
  width: 124px;
  height: 124px;

  @include ui-1px(#bcd9fb,1px);
  &.end {
    &:after {
      display: none;
    }
  }
  &:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background: url('../images/loading.gif') no-repeat;
    background-size: cover;
    content: '';
  }
  img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
  }
  img[src=''] {
    opacity: 0;
  }
}
.proof {
  display: flex;
  dd {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 35px;
  }
}
.flow-type {
  li:not(:first-child) {
    margin-top: 10px;
  }
}

.proof-form__money {
  .rmb {
    font-size: 48px;
    line-height: 0;
  }
}
.input__style {
  box-sizing: border-box;
  width: 100%;
  outline: none;
  border: 0;
}
.proof-form__tips {
  padding-top: 20px;
  padding-bottom: 20px;

  @include ui-1px(#eee,1px 0 0 0);
}
.update-photo {
  position: relative;
  overflow: hidden;
  padding-top: 30px;
  input[type='file'] {
    position: absolute;
    top: -999px;
    left: -999px;
    opacity: 0;
  }
  .update-photo__btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .photoShow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 120px;
    background: url('../images/icon-04.png') no-repeat;
    background-size: cover;
    img {
      max-width: 90%;
      max-height: 90%;
    }
    img[src=''] {
      display: none;
    }
  }
}
.transport-form {
  @include ui-1px(#eee,1px 0);
  .cell:not(:last-child) {
    @include ui-1px(#eee, 0 0 1px 0,340px,-1px);
  }
  input:placeholder {
    font-size: 28px;
  }
  .cell {
    overflow: hidden;

    & > div {
      position: relative;
    }
  }
}
.transport-form__name {
  width: 138px;
  text-align-last: justify;
  white-space: nowrap;
}
//
.remark {
  textarea {
    box-sizing: border-box;
    padding: 20px;
    min-height: 200px;
    width: 100%;
    outline: none;
    border: 1px solid transparent;
    border-radius: 6px;
    background-color: #f8f8f8;
    line-height: inherit;
    resize: vertical;
    &:focus {
      border-color: #bcd9fb;
    }
  }
}
.textarea__tips {
  position: absolute;
  right: 10px;
  bottom: 20px;
  color: #b4b4b4;
  font-size: 22px;
}
